package deibay.server.frontend.commands;

import java.util.Vector;

import deibay.messages.Message;
import deibay.messages.SendItemsListMsg;
import deibay.messages.SendSellerItemsListMsg;
import deibay.server.eventargs.GetItemsListEventArg;
import deibay.server.eventargs.GetSellerItemsListEventArg;
import deibay.server.events.GetItemsListEvent;
import deibay.server.events.GetSellerItemsListEvent;
import deibay.server.frontend.FrontEndCore;
import deibay.users.User;

public class RequestSellerItemsListCommand extends Command{

	public RequestSellerItemsListCommand(User user, Message msg) {
		super(user, msg);		
	}

	@Override
	public void execute() {
		FrontEndCore.getInstance().getServerConnection().send(new GetSellerItemsListEvent(new GetSellerItemsListEventArg(user)));		
	}

}
